<template>
    <transition name="fade" v-if="show">
        <div class="mySlide clearfix">
            <div class="slider_content fl">
                <slot></slot>
            </div>
            <div class="slide_overlay fl" @click="hide()">
            </div>
        </div>
    </transition>
</template>
<style lang="less">
    @import "../../less/slideslip";
</style>
<script>
    export default {
        props: ['show', 'content'],
        data() {
            return {}
        },
        methods: {
            hide() {
                this.$emit('update:show', false)
            }
        },
        mounted() {

        }
    }
</script>